package com.yyfax.pay.order.model.to;

import com.yyfax.framework.model.Content;
import com.yyfax.pay.common.model.to.YYPayParams;

/**
 * 支付同步响应内容
 * 
 * @author buyi
 * @date 2017-04-13 16:29:40
 * @since v1.0.0
 */
@SuppressWarnings("serial")
public class AuthOrderReturnContent extends Content {
	/** 回显路径 */
	private String url;
	/** 回显参数 */
	private AuthOrderReturnData data;

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public AuthOrderReturnData getData() {
		return data;
	}

	public void setData(AuthOrderReturnData data) {
		this.data = data;
	}

	public static class AuthOrderReturnData extends YYPayParams {
		private Integer resultCode;
		private String resultMsg;
		private String merchantCode;
		private String userId;
		private String orderId;

		public Integer getResultCode() {
			return resultCode;
		}

		public void setResultCode(Integer resultCode) {
			this.resultCode = resultCode;
		}

		public String getResultMsg() {
			return resultMsg;
		}

		public void setResultMsg(String resultMsg) {
			this.resultMsg = resultMsg;
		}

		public String getMerchantCode() {
			return merchantCode;
		}

		public void setMerchantCode(String merchantCode) {
			this.merchantCode = merchantCode;
		}

		public String getUserId() {
			return userId;
		}

		public void setUserId(String userId) {
			this.userId = userId;
		}

		public String getOrderId() {
			return orderId;
		}

		public void setOrderId(String orderId) {
			this.orderId = orderId;
		}

		@Override
		public String[] signFields() {
			return new String[] { "resultCode", "resultMsg", "merchantCode", "userId", "orderId", };
		}
	}

}
